package com.Blog.www.po;


import com.Blog.www.constant.SqlConstant;

/**
 * 用于展示用的
 *
 * @author 君未洋
 */
public class CommentName {
    private BlogComment comment;
    private String username;

    @Override
    public String toString() {
        return "CommentName{" +
                "comment=" + comment +
                ", username='" + username + '\'' +
                '}';
    }

    public BlogComment getComment() {
        return comment;
    }

    public void setComment(BlogComment comment) {
        this.comment = comment;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        if (username == null) {
            username = SqlConstant.IDENTITY_A;
        }
        this.username = username;
    }
}
